package com.example.demo.model.vo;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;


/**
 * Created by Lx on 2018/6/27.
 */
@Data
public class PlantUpdateVo {
    @NotNull(message = "修改失败，Id不能为空")
    private Integer id;
    @NotBlank(message = "修改失败，工厂描述不能为空")
    private String plantDesc;
    @NotNull(message = "修改失败，状态不能为空")
    private Integer status;
}
